package com.example.room_type.service;

import com.example.model.room_type.PriceRule;

import java.util.List;

public interface PriceRuleService {

    int insert(PriceRule priceRule);

    PriceRule get(Long id);

    List<PriceRule> list(PriceRule priceRule);

    int update(PriceRule priceRule);

    int delete(Long id);


    List<PriceRule> getByRoomTypeId(Long roomTypeId);
}
